{template header}
{template nav}

<div class="sidnav">您的位置：&nbsp;
    <a href="{url index.php?m=car}" target="_blank" >首页</a>&nbsp;&gt;&nbsp;
  <a href="{url index.php?m=car&f=qiugou}" target="_blank" >求购信息</a>&nbsp;&gt;&nbsp;
  求购二手车
</div>


<div class="area">
	<div class="left1">
    	<div class="lboxcon1">
        	<div class="seachcon"><span class="fl">求购筛选：</span>
        	<div class="fr" id="search-selected">
        	<a href="{url index.php?m=car&f=qiugou}">全部清除</a></div></div>
      <ul class="seachul" id="search-option">
    <li><strong>车&nbsp;&nbsp;&nbsp;&nbsp;型：</strong>
    <DIV class="selnew">
              <select name="brand1" id="brand1" onchange="get_brand(this)" style="width:120px;"><option value="0">请选择品牌...</option>
              {if getGP('bid')}
       {get_brands_parent_options_bychild(getGP('bid'))}
       {else}
       {get_brands_parent(2,0)}
       {/if}  </select>
<select name="brand2" id="brand2" style="width:120px;" onchange="document.location.href='{searchurl('bid')}'+'&bid='+this.value"><option value="0">请选择车系...</option>
{if getGP('bid')}
{get_brands_brother_options(getGP('bid'))}
{/if}</select>
              </DIV>
    
          </li>

              <li><strong>价格区间：</strong>
              <a href="{searchurl('pri')}"{if !getGP('pri')} class="cur"{/if}>不限</a>
<a href="{searchurl('pri',1)}"{if getGP('pri')==1} class="cur"{/if}>3万以下</a>
<a href="{searchurl('pri',2)}"{if getGP('pri')==2} class="cur"{/if}>3-5万</a>
<a href="{searchurl('pri',3)}"{if getGP('pri')==3} class="cur"{/if}>5-10万</a>
<a href="{searchurl('pri',4)}"{if getGP('pri')==4} class="cur"{/if}>10-15万</a>
<a href="{searchurl('pri',5)}"{if getGP('pri')==5} class="cur"{/if}>15-20万</a>
<a href="{searchurl('pri',6)}"{if getGP('pri')==6} class="cur"{/if}>20-50万</a>
<a href="{searchurl('pri',7)}"{if getGP('pri')==7} class="cur"{/if}>50万以上</a>
              </li>
              <li class="nobor"><strong>使用年限：</strong>
<a href="{searchurl('yr')}"{if !getGP('yr')} class="cur"{/if}>不限</a>
<a href="{searchurl('yr',1)}"{if getGP('yr')==1} class="cur"{/if}>1年以内</a>
<a href="{searchurl('yr',2)}"{if getGP('yr')==2} class="cur"{/if}>1-3年</a>
<a href="{searchurl('yr',3)}"{if getGP('yr')==3} class="cur"{/if}>3-5年</a>
<a href="{searchurl('yr',4)}"{if getGP('yr')==4} class="cur"{/if}>5-8年</a>
<a href="{searchurl('yr',5)}"{if getGP('yr')==5} class="cur"{/if}>8年以上</a>
              </li>
          </ul>
        </div>
        <div class="lboxcon">
        	<div class="tit">
            	<ul class="tab">
        	<li class="cur">全部求购</li>
    
        </ul><span class="fr">共为您找到<span class="red"> {$num} </span>条求购信息&nbsp;&nbsp;&nbsp;</span>
            </div>
            
            <div class="lbox1">
            
            	<table class="gctable">
                   	<tr>
	                   	<th>标题</th>
	                   	<th>意向价格</th>
	                   	<th>车龄</th>
	                   	<th>意向品牌/车系</th>
	                   	<th>发布时间</th>
	       
	                   	<th>操作</th>
                   	</tr>
                   {loop $datas $v}
   		<tr> 
			<td>{$v['title']}</td>
			<td>{$v['price']} 万左右</td>
			<td>{$age[$v['age']]}</td>
			<td>{$v['catename']}</td>
			<td>{gdate('Y-m-d',$v['created'])}</td>
	 
			
			<td><a href="{url index.php?m=car&f=qiugou&id=$v[id]}" target="_blank">查看</a></td>
		</tr>
		{/loop}
	              </table>
  
             			<div class="pagcon" style="float:right;">{$page} </div>
                        
                        
                                     
             
            </div>
        </div>
    </div>
    
    <div class="right0">
    	
        	<a style="margin-bottom:16px" class="toolbtn" href="{url index.php?m=car&f=qiugouadd}" target="_blank">发布求购信息</a>
			<!-- 推荐二手车  开始 -->
			
			




  			<div class="rboxcon"><div class="rtit">
                	<h2>二手车推荐</h2>
             </div>
             {php $recars=get_recommend_cars(0,5)}
             <ul class="rlist5">
             {loop $recars $v}
                             <li><div class="vgcon">
	                	<div class="vgbox">
		                	<a target="_blank" href="{url index.php?m=car&f=buy&id=$v[id]}" class="abox">
                    	<img width="120" height="80" class="boxc" alt="{$v['title']}" src="{echo DATA_DIR}files/{$v['picture']}"/>
		                	</a>
	                	</div>
                	</div>
                	<p>
	                	<a target="_blank" href="{url index.php?m=car&f=buy&id=$v[id]}" class="carmoda" title="{$v['title']}">{$v['title']}</a><br>
	                	<span class="red">{$v['price']} 万元</span><br>
	                	                	</p>
	                
               	</li>
               	{/loop}
             </ul>
             </div>
             

			  
			<!-- 推荐二手车  结束 -->
         
          
  </div>
  
</div>

 

{template footer}